﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2011A.DTO.Order
{
    /// <summary>
    /// 订单创建的DTO 
    /// </summary>
    public class OrderInputDto
    {
        public Guid MemberId { get; set; }
        public string RecivedAddress { get; set; }
        public string RecivedName { get; set; }
        public string RecivedPhone { get; set; }
        public string? Remark { get; set; }
        public decimal Total { get; set; }
        public List<OrderDetailInputDto> Details { get; set; }
    }

    public class OrderDetailInputDto
    {
        public Guid ProductId{get;set;}
        public string? ProductImage{get;set;}
        public string? ProductName {get;set;}
        public int ProductNumber{get;set;}
        public decimal ProductPrice{ get; set; }
    }
}
